
class IDGenerator:
    def __init__(self):
        self.nextID = 0
        
    def getNextID(self):
        retVal = self.nextID
        self.nextID += 1
        return retVal

theIDGen = IDGenerator()